package com.qujia.station.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@TableName("coupon_push_message_rule")
@Data
public class CouponPushMessageRule {

    private Long id;
    @ApiModelProperty(value = "开关：开启-NO，关闭-OFF")
    private String couponSwitch;
    @ApiModelProperty(value = "推送时间")
    private String pushTime;
    @ApiModelProperty(value = "改变之前的规则")
    private Integer beforeRule;
    @ApiModelProperty(value = "规则：1-到期24小时前推送，2-到期3天前推送，3-到期7天前推送")
    private Integer rule;
    @ApiModelProperty(value = "创建人")
    private String createUser;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "油企id")
    private Long enterpriseId;
    @ApiModelProperty(value = "油站id")
    private Long stationId;
    @ApiModelProperty(value = "改变规则之后是否推送一次：0-否，1-是")
    private Integer isPush;
}
